# mail.host=localhost; mail.debug=true; mail.smtp.user=me@koydooley.com; mail.from=me@koydooley.com

connect('weblogic','weblogic','localhost:7001')
edit()
startEdit()
cd('/')
cmo.createMailSession('smtp.qcorp.aa.com')
cd('/MailSessions/smtp.qcorp.aa.com')
cmo.setJNDIName('smtp.qcorp.aa.com')
prop=Properties()
prop.setProperty('mail.host', 'smtp.qcorp.aa.com')
prop.setProperty('mail.host', 'smtp.qcorp.aa.com')
cmo.setProperties(prop)
set('Targets',jarray.array([ObjectName('com.bea:Name=AdminServer,Type=Server'), ObjectName('com.bea:Name=MS1,Type=Server')], ObjectName))
